//
//  ShapsBoot.swift
//  SwiftUIWidgetDemo
//
//  Created by alanzhangg on 2023/7/10.
//

import SwiftUI

struct ShapsBoot: View {
    var body: some View {
//        Circle()
//        Ellipse()
//        Capsule(style: .circular)
//        Rectangle()
        RoundedRectangle(cornerRadius: /*@START_MENU_TOKEN@*/25.0/*@END_MENU_TOKEN@*/)
//            .fill(.blue)
//            .foregroundColor(/*@START_MENU_TOKEN@*/.blue/*@END_MENU_TOKEN@*/)
//            .stroke()
//            .stroke(.red)
//            .stroke(.blue, lineWidth: 30.0)
//            .stroke(.blue, style: StrokeStyle(lineWidth: 20, lineCap: .butt, dash: [10], dashPhase:1))
//            .trim(from: 0.3, to: 1.0)
//            .stroke(.purple, lineWidth: 50)
            .frame(width: 200, height: 100)
    }
}

#Preview {
    ShapsBoot()
}
